package com.topvision.elementanim.view;

import android.graphics.Color;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import com.topvision.elementanim.R;

public class TestCustomEditActivity extends AppCompatActivity {

    private CustomEditText mEditText1;
    private CustomEditText mEditText2;
    private CustomEditText mEditText3;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_test_custom_edit);
        mEditText1 = (CustomEditText) findViewById(R.id.et_custom_1);
        mEditText2 = (CustomEditText) findViewById(R.id.et_custom_2);
        mEditText3 = (CustomEditText) findViewById(R.id.et_custom_3);
        mEditText1
                .setDefaultUnderLineColor(Color.YELLOW)
                .setAnimDuration(1000)
                .setAnimColor(Color.BLUE);
        mEditText2
                .setDefaultUnderLineColor(Color.YELLOW)
                .setAnimDuration(1000)
                .setAnimColor(Color.RED);
        mEditText3
                .setDefaultUnderLineColor(Color.YELLOW)
                .setAnimDuration(1000)
                .setAnimColor(Color.GREEN);
    }
}
